package com.tk.exam.mapper;

import com.github.pagehelper.PageInfo;
import com.tk.exam.domain.TkStudent;
import com.tk.exam.domain.TkStudentExample;
import java.util.List;
import com.tk.exam.vo.StudentVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface TkStudentMapper {
    int countByExample(TkStudentExample example);

    int deleteByExample(TkStudentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TkStudent record);

    int insertSelective(TkStudent record);

    List<TkStudent> selectByExampleWithRowbounds(TkStudentExample example, RowBounds rowBounds);

    List<TkStudent> selectByExample(TkStudentExample example);

    TkStudent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TkStudent record, @Param("example") TkStudentExample example);

    int updateByExample(@Param("record") TkStudent record, @Param("example") TkStudentExample example);

    int updateByPrimaryKeySelective(TkStudent record);

    int updateByPrimaryKey(TkStudent record);

    List<StudentVo> getListWithPage(StudentVo param);

    List<StudentVo> getList(StudentVo param);


}